require("../css/adv.less")
document.ready(function(){
   let countNum=document.querySelector("#countNum")
   let countDown=document.querySelector("#countDown")
   let count=5
   countNum.textContent=count
    let time=window.setInterval(function(){
    count--
    if(count==0){
        window.clearInterval(time)
        // 跳转
        window.location.href="./login.html"
        return
    }
    countNum.textContent=count
   },1000)
    
})

//点击跳转
